.up_area {
    padding: 7px 12px;
    border: 2px dashed #0099FF;
    margin: 10px 20px 20px 20px;
    background-color: #fff;
    border-radius: 4px;
    height:100%;
}
.pre_img{
    position: relative;
    margin: 5px 5px 0px 0px;
    height: 100px;
    width: 130px;
    background-color: #d4d4d4;
    float:left;
    overflow: hidden;
}
.up_img {
    position: relative;
    padding: 3px;
    width: 130px;
    height: 100px;
    top: 0;
    left: 0;
}
.clearfix {
    overflow: auto;
}
.pre_img .ovrly {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    left: 0;
    top: -100%;
    width: 100%;
    position: absolute;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.pre_img .buttons {
    position: absolute;
    top: -100%;
    left: 50%;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.pre_img .buttons .fa {
    margin: 0 1px;
    color: rgb(256, 256, 256);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;

    font-size: 20px;
    text-align: center;
    text-decoration: none;
    width: 20px;
    height: 20px;
}
.fa-trash{
    background-image: url(/image/delete.svg);
    background-size: 50%;
    background-position: center center;
    background-repeat: no-repeat;
}
.fa-search{
    background-image: url(/image/search.svg);
    background-size: 25%;
    background-position: center center;
    background-repeat: no-repeat;
}
.pre_img:hover .buttons {
    top: 50%;
}
.pre_img:hover .ovrly {
    top: 0;
}
a#delImg:hover,a#viewImg:hover{
    cursor:pointer;
}